class Shape{
    void draw(){
        System.out.println("画图形");
    }
}
class Flower extends Shape{
    @Override
    void draw() {
        System.out.println("❀");
    }
}
class Square extends Shape{
    @Override
    void draw() {
        System.out.println("□");
    }
}
class Circle extends Shape{
    @Override
    void draw() {
        System.out.println("○");
    }
}
public class test1 {
    public static void drawMap(Shape shape){
        shape.draw();
    }


    public static void main(String[] args) {

        Shape shape1 = new Circle();
        Shape shape2 = new Flower();
        Shape shape3 = new Square();
        drawMap(shape1);
        drawMap(shape2);
        drawMap(shape3);
    }
}
